package com.sanqi.work.mapper;

import java.util.List;
import com.sanqi.work.domain.WorkWorkplace;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 职场Mapper接口
 * 
 * @author duany
 * @date 2025-09-24
 */
public interface WorkWorkplaceMapper extends BaseMapper<WorkWorkplace>
{
    /**
     * 查询职场
     * 
     * @param id 职场主键
     * @return 职场
     */
    public WorkWorkplace selectWorkWorkplaceById(String id);

    /**
     * 查询职场列表
     * 
     * @param workWorkplace 职场
     * @return 职场集合
     */
    public List<WorkWorkplace> selectWorkWorkplaceList(WorkWorkplace workWorkplace);

    /**
     * 新增职场
     * 
     * @param workWorkplace 职场
     * @return 结果
     */
    public int insertWorkWorkplace(WorkWorkplace workWorkplace);

    /**
     * 修改职场
     * 
     * @param workWorkplace 职场
     * @return 结果
     */
    public int updateWorkWorkplace(WorkWorkplace workWorkplace);

    /**
     * 删除职场
     * 
     * @param id 职场主键
     * @return 结果
     */
    public int deleteWorkWorkplaceById(String id);

    /**
     * 批量删除职场
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkWorkplaceByIds(String[] ids);
}
